# This is a sample Python script.

# Press ⌃R to execute it or replace it with your code.
# Press Double ⇧ to search everywhere for classes, files, tool windows, actions, and settings.

# Press the green button in the gutter to run the script.

from csv_tools.real_execl import read_execl_by_col
from fig.line_chart import drawLinePlotV1
import pandas as pd
import sys
import logs
if __name__ == '__main__':
    '''
    path = './data/csv/train_result.xlsx'
    data = read_execl_by_col(path,u"内容")
    data = data.values

    aucList = []
    indexList = []
    for item in data:
        auc = float(item[item.find(":")+1:])
        aucList.append(auc)
        index = int(item[item.find("[")+1:item.find("]")])
        indexList.append(index)

    drawLinePlotV1(indexList,aucList)
    '''

    logger = logs.Logger(psm = "toutiao.passport.user_info-center")
    logger.warn("test")


